import java.util.Arrays;
import java.util.Scanner;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: AliceMana
 * Date: 2022-09-01
 * Time: 19:25
 */
public class TestDemo {


    //https://www.nowcoder.com/practice/4436c93e568c48f6b28ff436173b997f?tpId=13&tqId=2273153&ru=/ta/coding-interviews&qru=/ta/coding-interviews/question-ranking
    public static int[] printNumbers(int n) {
        int[] arr1 = {0, 9, 99, 999, 9999, 99999};
        int[] arr2 = new int[arr1[n]];
        int j = 0;
        for (int i = 1; i <= arr2.length; i++) {
            arr2[j++] = i;
        }
        return arr2;
    }

    // https://www.nowcoder.com/practice/769d45d455fe40b385ba32f97e7bcded?tpId=37&&tqId=21296&rp=1&ru=/ta/huawei&qru=/ta/huawei/question-ranking
    public static void main1(String[] args) {
        Scanner in = new Scanner(System.in);
        int year = in.nextInt();
        int month = in.nextInt();
        int day = in.nextInt();
        int ret = 0;
        int[] dayInMonth = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
        if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)) {
            dayInMonth[2] = 29;
        }
        for (int i = 0; i < month; i++) {
            ret += dayInMonth[i];
        }
        ret += day;
        System.out.println(ret);
    }

    // https://www.nowcoder.com/practice/dbace3a5b3c4480e86ee3277f3fe1e85?tpId=37&&tqId=21299&rp=1&ru=/ta/huawei&qru=/ta/huawei/question-ranking
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        if (n%2 != 0) {
            int tmp = n*n;
            for (int i = 0; i < (n-1)/2; i++) {
                tmp -= 2;
            }
            for (int i = 0; i < n; i++) {
                System.out.print(tmp);
                if (i != n - 1) {
                    System.out.print("+");
                }
                tmp+=2;
            }
        } else {
            int tmp = n*n-1;
            for (int i = 0; i < (n/2) - 1; i++) {
                tmp -= 2;
            }
            for (int i = 0; i < n; i++) {
                System.out.print(tmp);
                if (i != n - 1) {
                    System.out.print("+");
                }
                tmp+=2;
            }
        }
    }


}
